/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: Test.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/3 上午8:23
 * LastModified: 2020/03/03 08:23:03
 */

package com.qolome.knowledge.design.pattern.proxy.dynamicproxy.jdkproxy;

import lombok.extern.slf4j.Slf4j;

/**
 * @author Qolome
 * @version V1.0
 * @Description 测试类
 * @date 2020年 03月03日 08:23:04
 */

@Slf4j
public class Test {

    public static void main(String[] args) {
        JdkMatchmaker jdkMatchmaker = new JdkMatchmaker();
        IPerson xiongDa = jdkMatchmaker.getInstance(new XiongDa());
        xiongDa.findLove();
        IPerson xiongEr = jdkMatchmaker.getInstance(new XiongEr());
        xiongEr.findLove();


    }
}
